package com.h3c.nem.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: TbWorkExperienceDTO
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: tb_work_experience dto实体
 * Version: 1.0
 */
@ApiModel(value="TbWorkExperience对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbWorkExperienceDTO {


    @ApiModelProperty(value = "记录ID")
    private String recordId;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date beginDate;

    @ApiModelProperty(value = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date endDate;

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    @ApiModelProperty(value = "工作城市")
    private String workCity;

    @ApiModelProperty(value = "离职原因")
    private String leaveReason;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

}
